import VModal from './v-modal-generator';

export default {
  VModal,
  install(Vue) {
    /* eslint no-param-reassign: 0 */
    Vue.prototype.$alert = VModal.alert;
    Vue.prototype.$confirm = VModal.confirm;
    Vue.prototype.$prompt = VModal.prompt;
    Vue.prototype.$modal = VModal;
  },
};

export { VModal };
